package com.sn.author.common.sdk.response;

import com.sn.author.common.sdk.AbstractResponse;
import com.sn.author.common.sdk.entity.AbstractResult;
import com.sn.author.domain.vo.CollectionVo;
import lombok.*;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author xiaom
 * @Date 2020/10/19 16:12
 * @Version 1.0.0
 * @Description <>
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class CollectionResponse extends AbstractResponse<CollectionResponse.ResponseMsgResult> {

    public CollectionResponse.ResponseMsgResult data;

    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class ResponseMsgResult extends AbstractResult {
        private String taskId;
        private List<CollectionVo> rows = new ArrayList<>();
    }

}
